package abstractFactoryPattern;

/**
 * @author Yin_JC
 * @PackageName:abstractFactoryPattern
 * @Class:Factory2
 * @Description:
 * @date 2020/4/2 15:03
 */

public class Factory2 implements Factory {
    @Override
    public TV tvProduce() {
        return new TV2();
    }

    @Override
    public Tool toolProduce() {
        return new Tool2();
    }

    @Override
    public Refrigerator refrigeratorProduce() {
        return new Refrigerator2();
    }
}
